package cn.cable.monitor.admin.domain.service;

import cn.cable.monitor.admin.domain.model.entity.MonitorDataEntity;
import cn.cable.monitor.admin.domain.model.entity.MonitorDataMapEntity;
import cn.cable.monitor.admin.domain.model.entity.MonitorFlowDesignerEntity;
import cn.cable.monitor.admin.domain.model.valobj.MonitorTreeConfigVO;
import java.util.List;
import ognl.OgnlException;

/**
 * 日志解析服务
 * @author hsj
 * @date 2024/7/18 11:19
 */
public interface ILogAnalyticalService {

	/**
	 * 解析日志
	 * @param systemName
	 * @param className
	 * @param methodName
	 * @param logList
	 */
	void doAnalytical(String systemName,String className,String methodName, List<String> logList) throws OgnlException;

	/**
	 * 查询监控列表
	 * @return
	 */
	List<MonitorDataMapEntity> queryMonitorDataMapEntityList();

	/**
	 * 查询监控数据
	 * @return
	 */
	MonitorTreeConfigVO queryMonitorFlowData(String monitorId);

	/**
	 * 查询监控数据
	 * @param build
	 * @return
	 */
	List<MonitorDataEntity> queryMonitorDataEntityList(MonitorDataEntity build);

	/**
	 * 更新监控点位数据
	 * @param monitorFlowDesignerEntity
	 */
	void updateMonitorFlowDesigner(MonitorFlowDesignerEntity monitorFlowDesignerEntity);

}
